package jin.si.dao;

import jin.si.pojo.JsActicleCategray;
import jin.si.pojo.JsMicrocircle;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName:JsMicrocircleMapper
 * Package:jin.si.dao
 * Description: 微圈分类dao
 *
 * @Date:2022/3/22 下午 2:57
 * @Author: WYH
 */
public interface JsActicleCategroyMapper {

    /**
     * @Author WYH
     * @Description //TODO 查看微圈分类
     * @Date 下午 2:57 2022/3/22
     * @Param
     * @return JsMicrocircle
     **/
    List<JsActicleCategray> getJsMicrocircle();

    /**
     * @Author WYH
     * @Description //TODO 查看微圈分类对应的课程
     * @Date 上午 11:27 2022/3/28
     * @Param acticleCategoryId
     * @return  List<JsMicrocircle>
     **/
    List<JsMicrocircle> getJsMicrocircleById(@Param("acticleCategoryId") String acticleCategoryId);
    
    
    /**
     * @Author WYH
     * @Description //TODO 根据微圈id查询数据
     * @Date 下午 2:55 2022/3/29
     * @Param microcircleId
     * @return  JsMicrocircle
     **/
    JsMicrocircle selectJsMicrocircleById(@Param("microcircleId") String microcircleId);

    /**
     * @Author WYH
     * @Description //TODO 点击收藏
     * @Date 上午 8:38 2022/4/6
     * @Param
     * @return
     **/
    Boolean addJsMicrocircle();
}
